//
//  Car.h
//  Chapt11_CarProperties_v11-01
//
//  Created by Ronald Ram on 16/03/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

//forward declaration...
@class Engine;
@class Tire;

@interface Car : NSObject 
{
    //data members or instance variables...
    NSMutableArray *tires;
    NSString *name;
    Engine *engine;
}

@property (readwrite, copy) NSString *name;
@property (readwrite, retain) Engine *engine;

-(void) setTire: (Tire *) tire atIndex: (int) index;
-(Tire *) tireAtIndex: (int) index;

-(void) print;

@end
